var Month;
(function (Month) {
    Month[Month["ju"] = 1] = "ju";
    Month[Month["feb"] = 2] = "feb";
})(Month || (Month = {}));
var StatusCode;
(function (StatusCode) {
    StatusCode[StatusCode["NotFound"] = 404] = "NotFound";
    StatusCode[StatusCode["OK"] = 200] = "OK";
})(StatusCode || (StatusCode = {}));
var FileAccess;
(function (FileAccess) {
    FileAccess[FileAccess["Read"] = 2] = "Read";
    FileAccess[FileAccess["Write"] = 4] = "Write";
    FileAccess[FileAccess["ReadWrite"] = 6] = "ReadWrite";
})(FileAccess || (FileAccess = {}));
//位运算 - 移位
//     1  << 1 -》把 1  左移动 1位  10  把1 变成十位
//  1 << 1把 1  左移动 2位
//  1 << 2    100  把1 变成百位
console.log(FileAccess.Read); // 2   -> 010
console.log(FileAccess.Write); // 4   -> 100
console.log(FileAccess.ReadWrite); // 6   -> 110
FileAccess.Read;
FileAccess.ReadWrite;
// | -》按位 或 运算
// ReadWrite = Read | Write, -》
// Read = 1 << 1, // 010
// Write = 1 << 2, //100
let month = 1;
// if (month == 1) {
// }
if (month == Month.ju) {
}
let res = 100;
if (res == StatusCode.OK) {
}
switch (month) {
    case Month.ju:
        break;
    default:
        break;
}
let a12 = 1;
// function getDate(d: any) {
// }
function getDate(d) {
    d.getFullYear();
}
let d = new Date();
// getDate('11');
getDate(d);
// document.addEventListener("click", function (e) {
//     e.stopPropagation
// });
let btn = document.querySelector("#btn");
// let btn: HTMLElement = document.querySelector("#btn");
btn.onclick = function (e) { };
export {};
